// samsting : this file is auto create.

#include "Yundun/2015-04-16/ListInstanceInfosResponse.h"

namespace aliyun { namespace Yundun {

ListInstanceInfosResponse::ListInstanceInfosResponse() {
}

const string& ListInstanceInfosResponse::InstanceInfo::GetRegion(void) const {
  return Region_;
}

const string& ListInstanceInfosResponse::InstanceInfo::GetRegionName(void) const {
  return RegionName_;
}

const string& ListInstanceInfosResponse::InstanceInfo::GetRegionEnName(void) const {
  return RegionEnName_;
}

const string& ListInstanceInfosResponse::InstanceInfo::GetInstanceName(void) const {
  return InstanceName_;
}

const string& ListInstanceInfosResponse::InstanceInfo::GetInstanceId(void) const {
  return InstanceId_;
}

const string& ListInstanceInfosResponse::InstanceInfo::GetIp(void) const {
  return Ip_;
}

const string& ListInstanceInfosResponse::InstanceInfo::GetInternetIp(void) const {
  return InternetIp_;
}

const string& ListInstanceInfosResponse::InstanceInfo::GetIntranetIp(void) const {
  return IntranetIp_;
}

int ListInstanceInfosResponse::InstanceInfo::GetDdos(void) const {
  return Ddos_;
}

int ListInstanceInfosResponse::InstanceInfo::GetHostEvent(void) const {
  return HostEvent_;
}

int ListInstanceInfosResponse::InstanceInfo::GetSecureCheck(void) const {
  return SecureCheck_;
}

int ListInstanceInfosResponse::InstanceInfo::GetAegisStatus(void) const {
  return AegisStatus_;
}

int ListInstanceInfosResponse::InstanceInfo::GetWaf(void) const {
  return Waf_;
}

bool ListInstanceInfosResponse::InstanceInfo::GetIsLock(void) const {
  return IsLock_;
}

const string& ListInstanceInfosResponse::InstanceInfo::GetLockType(void) const {
  return LockType_;
}

int ListInstanceInfosResponse::InstanceInfo::GetUnLockTimes(void) const {
  return UnLockTimes_;
}

const string& ListInstanceInfosResponse::InstanceInfo::GetTriggerTime(void) const {
  return TriggerTime_;
}

const std::vector<ListInstanceInfosResponse::InstanceInfo>& ListInstanceInfosResponse::GetInfosList(void) const {
  return InfosList_;
}

int ListInstanceInfosResponse::GetPageNumber(void) const {
  return PageNumber_;
}

int ListInstanceInfosResponse::GetPageSize(void) const {
  return PageSize_;
}

int ListInstanceInfosResponse::GetTotalCount(void) const {
  return TotalCount_;
}

const char* ListInstanceInfosResponse::BaseKey(void) {
  return "ListInstanceInfosResponse";
}

void ListInstanceInfosResponse::UnmarshallerMap(std::map<string, string>& response_map) {
  int InfosList__length = 0;
  UnmarshallerInt(InfosList__length, response_map, "ListInstanceInfosResponse.InfosList.Length");
  if(InfosList__length >= 0) {
    InfosList_.resize(InfosList__length);
    for(int i1 = 0; i1 < InfosList__length; i1++) {
      UnmarshallerString(InfosList_[i1].Region_, response_map, "ListInstanceInfosResponse.InfosList["+string_ValueOfInt(i1)+"].Region");
      UnmarshallerString(InfosList_[i1].RegionName_, response_map, "ListInstanceInfosResponse.InfosList["+string_ValueOfInt(i1)+"].RegionName");
      UnmarshallerString(InfosList_[i1].RegionEnName_, response_map, "ListInstanceInfosResponse.InfosList["+string_ValueOfInt(i1)+"].RegionEnName");
      UnmarshallerString(InfosList_[i1].InstanceName_, response_map, "ListInstanceInfosResponse.InfosList["+string_ValueOfInt(i1)+"].InstanceName");
      UnmarshallerString(InfosList_[i1].InstanceId_, response_map, "ListInstanceInfosResponse.InfosList["+string_ValueOfInt(i1)+"].InstanceId");
      UnmarshallerString(InfosList_[i1].Ip_, response_map, "ListInstanceInfosResponse.InfosList["+string_ValueOfInt(i1)+"].Ip");
      UnmarshallerString(InfosList_[i1].InternetIp_, response_map, "ListInstanceInfosResponse.InfosList["+string_ValueOfInt(i1)+"].InternetIp");
      UnmarshallerString(InfosList_[i1].IntranetIp_, response_map, "ListInstanceInfosResponse.InfosList["+string_ValueOfInt(i1)+"].IntranetIp");
      UnmarshallerInt(InfosList_[i1].Ddos_, response_map, "ListInstanceInfosResponse.InfosList["+string_ValueOfInt(i1)+"].Ddos");
      UnmarshallerInt(InfosList_[i1].HostEvent_, response_map, "ListInstanceInfosResponse.InfosList["+string_ValueOfInt(i1)+"].HostEvent");
      UnmarshallerInt(InfosList_[i1].SecureCheck_, response_map, "ListInstanceInfosResponse.InfosList["+string_ValueOfInt(i1)+"].SecureCheck");
      UnmarshallerInt(InfosList_[i1].AegisStatus_, response_map, "ListInstanceInfosResponse.InfosList["+string_ValueOfInt(i1)+"].AegisStatus");
      UnmarshallerInt(InfosList_[i1].Waf_, response_map, "ListInstanceInfosResponse.InfosList["+string_ValueOfInt(i1)+"].Waf");
      UnmarshallerBool(InfosList_[i1].IsLock_, response_map, "ListInstanceInfosResponse.InfosList["+string_ValueOfInt(i1)+"].IsLock");
      UnmarshallerString(InfosList_[i1].LockType_, response_map, "ListInstanceInfosResponse.InfosList["+string_ValueOfInt(i1)+"].LockType");
      UnmarshallerInt(InfosList_[i1].UnLockTimes_, response_map, "ListInstanceInfosResponse.InfosList["+string_ValueOfInt(i1)+"].UnLockTimes");
      UnmarshallerString(InfosList_[i1].TriggerTime_, response_map, "ListInstanceInfosResponse.InfosList["+string_ValueOfInt(i1)+"].TriggerTime");
    } // for(int i1 = 0; i1 < InfosList__length; i1++) {
  } // if(InfosList__length >= 0) {

  UnmarshallerInt(PageNumber_, response_map, "ListInstanceInfosResponse.PageNumber");
  UnmarshallerInt(PageSize_, response_map, "ListInstanceInfosResponse.PageSize");
  UnmarshallerInt(TotalCount_, response_map, "ListInstanceInfosResponse.TotalCount");
}


} } // namespace aliyun { namespace Yundun {

// end of file 
